<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>哇噻网 全球优质设计师纯手工制作产品购物网站</title>
		<meta name="description" content="创意礼物首选网站">
		<meta name="keywords" content="手工制作,购物,设计师,哇塞网">
		<meta name="author" content="haimi">
		<script src="./Public/Home/js/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="./Public/Home/css/market.css"/>
		
<!--载入head.php-->
{{include file="../Common/head"}}		
<!--END head-->
<script type="text/javascript">
	window.onload = function ()
	{
		//鼠标移入事件
		var c = document.getElementsByClassName("cate");
		for(var i=0;i<c.length;i++){
			c[i].onmouseover = function ()
			{
				this.style.background = "#00CCCC";
				this.style.color = '#FFFFFF';
			};
			c[i].onmouseout = function ()
			{
				this.style.background = "#FFFFFF";
				this.style.color = '#00CCCC';
			}
		}	
	};
</script>
<!--central-->
<div id="central">
	<div class="titleLabel">
		<h2>市集</h2>
	</div>
	<div class="display">
		<ul class="box">
			{{foreach from="$cate" value="$v"}}
				<li class="in">
					<h2>{{$v['cname']}}</h2>
					<ul class="lbox">
						{{foreach from="$v['value']" value="$value"}}
							<li><a href="cate_{{$value['cid']}}.html" class="cate" target="_blank">{{$value['cname']}}</a></li>
						{{endforeach}}
					</ul>
				</li>
			{{endforeach}}
		</ul>
		
	</div>
</div>
<!--END central-->

<!--pagination-->
<div id="pagination">
	
</div>
<!--END pagination-->

<!--载入footer.php-->	
<li style="width: 100%;height: auto;overflow: hidden;margin: 0 auto;">{{include file="../Common/footer"}}</li>
	</body>
</html>
